#pragma once

#include <d3dx10.h>
#include "ICameraComponent.h"

#pragma comment(linker, "/INCLUDE:??0FirstPersonCameraComponent@@QAE@XZ")

class FirstPersonCameraComponent : public ICameraComponent
{
public:
	D3DXVECTOR3 getPosition();
	D3DXMATRIX getView();
	float getNearClip();

	void Serialize(EnginePointer<ISerializerWriteContext>& context, char* name);
	static IEngineComponent* Deserialize(EnginePointer<ISerializerReadContext>& context);

	AUTO_SIZE;
private:
	D3DXVECTOR3 position;
};
